
import 'dart:convert';

UserStatusDto userStatusDtoFromJson(String str) => UserStatusDto.fromJson(json.decode(str));

String userStatusDtoToJson(UserStatusDto data) => json.encode(data.toJson());

class UserStatusDto {
    UserStatusDto({
        this.enable,
        this.userNames,
    });

    bool? enable;
    List<String>? userNames;

    factory UserStatusDto.fromJson(Map<String, dynamic> json) => UserStatusDto(
        enable: json["enable"],
        userNames: json["userNames"]!=null ? List<String>.from(json["userNames"].map((x) => x)) : null,
    );

    Map<String, dynamic> toJson() => {
        "enable": enable,
        "userNames": userNames!=null ? List<dynamic>.from(userNames!.map((x) => x)): null,
    };
}
